interface userStoreProps {
  name: string
}
const useCommonStore = defineStore('common', {
  // arrow function recommended for full type inference
  state: (): userStoreProps => {
    return {
      userInfo: {
        name: '',
      },
      // all these properties will have their type inferred automatically
      routes: routes,
    }
  },
  actions: {},
})
export default useCommonStore
